<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<style type="text/css">
html,body{
width:100%;
height:100%;
margin:0px;
}
</style>
<link rel="stylesheet" type="text/css" href="menu.css">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
</head>
<body>

</body>
<script type="text/javascript" src="xmenu.js"></script>
<script type="text/javascript" src="../../third/jquery/jquery-1.9.1.min.js"></script>
<script type="text/javascript">
window.onload = function(){
var menu = new XMenu();
var item = menu.addItem("刷新",11);
menu.addItem("新建",function(){
});
menu.addItem("789",11);
menu.addItem("--",11);
menu.addItem("789",11);
menu.addItem("--",11);
menu.addItem("789",11,11);
menu.addItem("789",11,11);
menu.addItem("789",11,11);
var submenu = item.addSubMenu();
submenu.addItem("aaa,11");
submenu.addItem("bbb,11");
submenu.addItem("ccc,11");
submenu.addItem("ccc,11");
submenu.addItem("ccc,11");
submenu.addItem("ccc,11");
submenu.addItem("ccc,11");
submenu.addItem("ccc,11");
submenu.addItem("ccc,11");
submenu.addItem("ccc,11");
document.body.oncontextmenu = function(){
	menu.showAtCursor();
	return false;
}
}
</script>
</html>